package com.ujiaoyu.api.mapper;

import com.ujiaoyu.api.entity.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 课程表 Mapper 接口
 * </p>
 *
 * @author ujiaoyu508
 * @since 2020-09-06
 */
public interface CourseMapper extends BaseMapper<Course> {

    boolean updateSaleCount(@Param("courseId") Long courseId);

    List<Course> seletCourseList();

    List<String> selectAllCourseTitle();
}
